package com.onesports.intelligent.k12.polarlight.domain.vo.student;


import com.fasterxml.jackson.annotation.JsonFormat;
import com.onesports.intelligent.k12.polarlight.domain.vo.operation.StudentOrderVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * @author FPH
 * @since 2022年7月13日17:15:55
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("学员--详情")
public class StudentDetailVO {
    @ApiModelProperty("学员姓名")
    private String studentName;

    @ApiModelProperty("身份证号")
    private String idCard;

    @ApiModelProperty("出生日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date birthday;

    @ApiModelProperty("年龄")
    private Integer age;

    @ApiModelProperty("性别")
    private String gender;

    @ApiModelProperty("联系手机号")
    private String contactPhone;

    @ApiModelProperty("课程列表")
    private List<StudentCourseVO> courseList;

    @ApiModelProperty("上课记录")
    private List<ClassRecordVO> classRecords;

    @ApiModelProperty("缴费记录")
    private List<StudentOrderVO> paymentRecords;
}
